package cn.cena.user.mapper;

import cn.cena.basic.mapper.BaseMapper;
import cn.cena.user.domain.WxUser;

public interface WxUserMapper extends BaseMapper<WxUser> {

    WxUser findByOpenid(String openid);

    /**
     * 根据UserId找WxUser
     * @param id
     * @return
     */
    WxUser findByUserId(Long id);
}
